﻿using System;

class AreaAndPerimeterOfCircle
{
    static void Main()
    {
        double radius;

        Console.WriteLine("Type a radius:");
        bool isFirstNumberValid = double.TryParse(Console.ReadLine(), out radius);
   
        if (isFirstNumberValid)
        {
            double area = radius * radius * Math.PI;
            double perimeter = 2 * radius * Math.PI;
            Console.WriteLine("The area of the circle is {0}", area);
            Console.WriteLine("The perimeter of the circle is {0}", perimeter);
        }
        else
        {
            Console.WriteLine("Your input isn`t OK!!!");
        }
    }
}